Knowledge Based Systems
- Humans use not only methods, but also domain specific knowledge, in problem solving.
- Top down approach
A system which is built around a knowledge base (not like a database) i.e. a collection of knowledge, taken from a human, and stored in such a way that the system can reason with it
- Substitute, the certain extend, the experts.
- Make good decisions, quickly, to come with problems
- Domain specific: a narrow range of knowledge
- Acquire Knowledge - Transfer expertise from knowledge source to a program
- Represent knowledge - Symbolic encoding of propositions
- Apply the knowledge (reasoning) - Deduce logical consequences: to produce new propositions.
Knowledge acquisition/engineering
- Knowledge Engineering: Design, build, install a knowledge based system
- Also called knowledge acquisition
Bottlenecks
- Human knowledge is complex and unstructured
- Expert is often too close to the problem under consideration, difficult in seeing it objectively
- Situation is worse when the knowledge source comprises of several experts
Stages
- Define task
- Build domain Vocabulary (words, phrases, formulae)
- Develop a Model of the reasoning and how it is applied (paper exercises, flowcharts etc)
Knowledge Representation
Problems with natural language: Often ambiguous, syntax and semantics not fully understood.
Predicate Logic: Formal language to represent knowledge
- Symbolic AI: Expressive, powerful to derive new knowledge from old, through mathematical deduction
Inference: infer conclusions from known statements.
Resolution Rule
Resolution Rule: An inference method. For automated theorem proving, Proves new terms by contradictions
Input: a knowledge base and a statement
- Transfer knowledge base into Conjunctive Normal Form (CNF)
- CNF: Propositions represented as a conjunction of clauses
- Negate the statement, add it to the knowledge base
- Unification: replace variables by a concrete instance (constant)
- Resolution: if a contradiction exists then the negated statement is false (applied repeatedly)
- Therefore, the original statement must be true